{%if ReadOnly%}
<span class="property-value">{% dt < Value %}</span>
{%else%}
<input type="text" class="date-editor property-value" name="{% PropertyFieldName < context %}" value="{% dt < Value %}" />{%insert formfields/clear.tpl%}
{%endif%}